home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
tscn312.zip
/
SCANFILE.ZIP
/
SCANFILE.BAK
< prev
next >
Wrap
Text File
|
1992-08-10
|
2KB
|
82 lines
ECHO ON
REM you must be running the latest version of POSTMSTR to utilize
REM the DOOR feature. See POSTMSTR.DOC for more information.
IF ERRORLEVEL 21 IF NOT ERRORLEVEL 22 GOTO fatal
IF ERRORLEVEL 20 IF NOT ERRORLEVEL 21 GOTO memory
IF ERRORLEVEL 17 IF NOT ERRORLEVEL 18 GOTO timer
IF ERRORLEVEL 16 IF NOT ERRORLEVEL 17 GOTO highsec
IF ERRORLEVEL 15 IF NOT ERRORLEVEL 16 GOTO abort
IF ERRORLEVEL 6 IF NOT ERRORLEVEL 7 GOTO extprogerr
IF ERRORLEVEL 5 IF NOT ERRORLEVEL 6 GOTO noextprog
IF ERRORLEVEL 4 IF NOT ERRORLEVEL 5 GOTO exists
IF ERRORLEVEL 3 IF NOT ERRORLEVEL 4 GOTO agereject
IF ERRORLEVEL 2 IF NOT ERRORLEVEL 3 GOTO integrity
IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 GOTO virus
IF ERRORLEVEL 0 GOTO thanks
:fatal
rem do nothing
GOTO end
:memory
rem do nothing
GOTO end
:timer
rem do nothing
GOTO end
:highsec
GOTO thanks
GOTO end
:abort
rem do nothing
GOTO end
:extprogerr
POSTMSTR /i:c:\wc30\msg\extprog.imp /t:door /f:Sysop /s:Recent Upload! /p
REM ^^^^^^^^^^^^^^^^^^^^^^^
GOTO end REM /
REM Edit these to where you put
REM the enclosed *.imp files!
:noextprog
POSTMSTR /i:c:\wc30\msg\noextpr.imp /t:door /f:Sysop /s:Recent Upload! /p
GOTO end
:exists
POSTMSTR /i:c:\wc30\msg\exists.imp /t:door /f:Sysop /s:Recent Upload! /p
GOTO end
:agereject
POSTMSTR /i:c:\wc30\msg\agereje.imp /t:door /f:Sysop /s:Recent Upload! /p
GOTO end
:integrity
POSTMSTR /i:c:\wc30\msg\integri.imp /t:door /f:Sysop /s:Recent Upload! /p
GOTO end
:thanks
IF "%THANKED%"=="YES" GOTO end
POSTMSTR /i:c:\wc30\msg\thanks.imp /t:door /f:Sysop /s:Recent Upload! /p
SET THANKED=YES
GOTO end
:end
IF NOT EXIST c:\wc30\transcan.err GOTO done
POSTMSTR /i:c:\wc30\transcan.err /t:sysop /f:TranScan /s:Recent Upload! /p
REM ^^^^^^^^^^^^^^^^^^^^
REM /
REM edit this so it points to the path your transcan.exe is in.
REM \ here too
REM vvvvvvvvvvvvvvvvvvvv
DEL c:\wc30\transcan.err
:done